﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace G.Service.API.Request.APITest
{
    public class AddAPITestProjectRequest:BaseRequest<Response.BaseResponse>
    {
        public int UserId { get; set; }
        public string ProjectName { get; set; }
        public string ProjectConfig { get; set; }
        public AddAPITestProjectRequest()
            : base("addapitestproject")
        {
            base.Path = string.Format("{0}/Service/APITestService.ashx", APIConfig.BaseUrl);
        }
        public override void GetParameters(System.Collections.Generic.Dictionary<string, string> dic)
        {
            dic.Add("userid", UserId.ToString());
            dic.Add("projectname", ProjectName);
            dic.Add("projectconfig", ProjectConfig);
        }
    }
}
